import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import VueCropper from 'vue-cropper'

const echarts = require('echarts')
// import {echarts} from 'echarts'

// import css
import 'element-ui/lib/theme-chalk/index.css'
import "./assets/css/reset.scss"
import "./assets/css/common.scss"
import "./assets/css/iconFont.css"

Vue.prototype.$echarts = echarts
Vue.use(VueCropper)
Vue.use(ElementUI, {size: 'small', zIndex: 3000})
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: function (h) {
    return h(App)
  }
}).$mount('#app')
